let a = "chengzhu";
let b = 40.123;


let array99 = [a, b];
// 数组断言 ==> 元组
let array = [a,b] as const;
let ele = array[1];

// array是元组，array[1]是number类型，下行报错
// let array[1] = 'zhangyun';
console.log(array);

// 数组断言 ==> 元组
let array2 = <const>[a,b];
